<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/js/easyui/themes/metro/easyui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validate/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/easyui.js"></script>
<script type="text/javascript">
	$(function() {
		$("#sform").validate({
			rules : {
				bcNo : {	required : true	},
crdNo : {	required : true	},
bnkNo : {	required : true	},
txnNo : {	required : true	},
bcType : {	required : true	},
bcOrder : {	required : true	},
bcCur : {	required : true	},
bcMoney : {	required : true,number : true},
bcRef : {	required : false	},
bcCard : {	required : false	},
bcTime : {	required : false	},
bcMark : {	required : false	},
bcInfo : {	required : false	},
bcAmount : {	required : true,number : true},
bcCode : {	required : true	},
bcMessage : {	required : true	},
bcState : {	required : true	},
bcDate : {	required : true	},
bcCstate : {	required : true	},
bcCdate : {	required : true	},
bcRemark : {	required : false	}
			},
			errorPlacement : function(error, element) {
				element.css("border-color","#1c3e57");
			},
		});
	});
</script>
</head>
<body>
 	<div class="easyui-panel" title="编辑面板" style="width:100%;" data-options="fit:true">
	<form id="sform" action="bc_save.html" method="post" enctype="multipart/form-data">
		<table width="90%">
				<tr>
					<td height="30" align="right" width="200"><b></b></td>
					<td width="300"><b>内容</b></td>
					<td><b>说明</b></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>
				<tr><td height="30" align="right">编号 : </td><td><input type="text" placeholder="编号" name="bcNo" id="bcNo" value="<s:property value="bcBean.bcNo"/>"/></td><td>编号</td></tr>
<tr><td height="30" align="right">关联卡号 : </td><td><input type="text" placeholder="关联卡号" name="crdNo" id="crdNo" value="<s:property value="bcBean.crdNo"/>"/></td><td>关联卡号</td></tr>
<tr><td height="30" align="right">收单银行 : </td><td><input type="text" placeholder="收单银行" name="bnkNo" id="bnkNo" value="<s:property value="bcBean.bnkNo"/>"/></td><td>收单银行</td></tr>
<tr><td height="30" align="right">关联交易号 : </td><td><input type="text" placeholder="关联交易号" name="txnNo" id="txnNo" value="<s:property value="bcBean.txnNo"/>"/></td><td>关联交易号</td></tr>
<tr><td height="30" align="right">类型 : </td><td><input type="text" placeholder="类型" name="bcType" id="bcType" value="<s:property value="bcBean.bcType"/>"/></td><td>类型</td></tr>
<tr><td height="30" align="right">上送流水号 : </td><td><input type="text" placeholder="上送流水号" name="bcOrder" id="bcOrder" value="<s:property value="bcBean.bcOrder"/>"/></td><td>上送流水号</td></tr>
<tr><td height="30" align="right">上送币种 : </td><td><input type="text" placeholder="上送币种" name="bcCur" id="bcCur" value="<s:property value="bcBean.bcCur"/>"/></td><td>上送币种</td></tr>
<tr><td height="30" align="right">上送金额 : </td><td><input type="text" placeholder="上送金额" name="bcMoney" id="bcMoney" value="<s:if test="bcBean.bcMoney!=null"><s:text name="global.format.number"><s:param value="bcBean.bcMoney"/></s:text></s:if>" onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td><td>上送金额</td></tr>
<tr><td height="30" align="right">返回银行单号 : </td><td><input type="text" placeholder="返回银行单号" name="bcRef" id="bcRef" value="<s:property value="bcBean.bcRef"/>"/></td><td>返回银行单号</td></tr>
<tr><td height="30" align="right">返回原交易卡号 : </td><td><input type="text" placeholder="返回原交易卡号" name="bcCard" id="bcCard" value="<s:property value="bcBean.bcCard"/>"/></td><td>返回原交易卡号</td></tr>
<tr><td height="30" align="right">返回原交易日期 : </td><td><input type="text" placeholder="返回原交易日期" name="bcTime" id="bcTime" value="<s:property value="bcBean.bcTime"/>"/></td><td>返回原交易日期</td></tr>
<tr><td height="30" align="right">返回码 : </td><td><input type="text" placeholder="返回码" name="bcMark" id="bcMark" value="<s:property value="bcBean.bcMark"/>"/></td><td>返回码</td></tr>
<tr><td height="30" align="right">返回信息 : </td><td><input type="text" placeholder="返回信息" name="bcInfo" id="bcInfo" value="<s:property value="bcBean.bcInfo"/>"/></td><td>返回信息</td></tr>
<tr><td height="30" align="right">入账金额 : </td><td><input type="text" placeholder="入账金额" name="bcAmount" id="bcAmount" value="<s:if test="bcBean.bcAmount!=null"><s:text name="global.format.number"><s:param value="bcBean.bcAmount"/></s:text></s:if>" onkeyup="value=value.replace(/[^\d\.]/g,'')" /></td><td>入账金额</td></tr>
<tr><td height="30" align="right">入账码 : </td><td><input type="text" placeholder="入账码" name="bcCode" id="bcCode" value="<s:property value="bcBean.bcCode"/>"/></td><td>入账码</td></tr>
<tr><td height="30" align="right">入账信息 : </td><td><input type="text" placeholder="入账信息" name="bcMessage" id="bcMessage" value="<s:property value="bcBean.bcMessage"/>"/></td><td>入账信息</td></tr>
<tr><td height="30" align="right">入账状态 : </td><td><s:radio id="bcState" name="bcState" list="#{'0':'无效','1':'有效'}"  value="bcBean.bcState"></s:radio></td><td>入账状态</td></tr>
<tr><td height="30" align="right">入账日期 : </td><td><input type="text" placeholder="入账日期" name="bcDate" id="bcDate" value="<s:if test="bcBean.bcDate!=null"><s:text name="global.format.date"><s:param value="bcBean.bcDate"/></s:text></s:if>" onclick="WdatePicker();" /></td><td>入账日期</td></tr>
<tr><td height="30" align="right">对账状态 : </td><td><s:radio id="bcCstate" name="bcCstate" list="#{'0':'无效','1':'有效'}"  value="bcBean.bcCstate"></s:radio></td><td>对账状态</td></tr>
<tr><td height="30" align="right">对账日期 : </td><td><input type="text" placeholder="对账日期" name="bcCdate" id="bcCdate" value="<s:if test="bcBean.bcCdate!=null"><s:text name="global.format.date"><s:param value="bcBean.bcCdate"/></s:text></s:if>" onclick="WdatePicker();" /></td><td>对账日期</td></tr>
<tr><td height="30" align="right">备注 : </td><td><input type="text" placeholder="备注" name="bcRemark" id="bcRemark" value="<s:property value="bcBean.bcRemark"/>"/></td><td>备注</td></tr>


				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>

				<tr>
					<td height="30" align="right"></td>
					<td><input type="button" class="submit" value="提交单据" onclick="if($('#sform').valid()){$('#sform').submit();}" /> <input type="button" class="submit" value="返回上级" onclick="history.go(-1);" /></td>
					<td></td>
				</tr>
			</table>
	</form>
    </div>
</body>
</html>

